function SetListBlockDeleteButtonTypeFlow(context){
    const listBlockContext = quickams.checkData(context, "listBlockContext");
    const listBlock = quickams.checkData(context, "listBlock");

    const buttonTypeList = listBlockContext["listBlockContextOption"]["buttonTypeList"];
    if(null==buttonTypeList||buttonTypeList.length===0){
        return;
    }
    if(buttonTypeList.indexOf("DELETE")>=0){
        //添加删除按钮
        listBlock["operations"]["delete"] = {
            "type": "button",
            "label": "删除",
            "props":{
                "type": "danger",
            },
            "event": "confirm:确认删除吗? delete list:1"
        };
    }

    if(buttonTypeList.indexOf("MULTIPLE_DELETE")>=0){
        //添加批量删除按钮
        listBlock["operations"]["multipleDelete"] = {
            "slot": "multipleSelect",
            "type": "button",
            "label": "批量删除",
            "props":{
                "type": "danger",
            },
            "event": "confirm:确认批量删除吗? delete list:1"
        };
    }

}